package demo.config;

import jk.fox.common.payload.server.Server;
import jk.fox.engine.listener.RpcServiceStartedListener;
import org.springframework.stereotype.Component;

/**
 * @author cuichao
 * @Description: TestRpcServiceStartedListener
 * @Date: create in 2020/6/5 13:43
 */
@Component
public class TestRpcServiceStartedListener implements RpcServiceStartedListener {

    @Override
    public void listen(Server server) {
        System.out.println(String.format("%s 已经启动------------------TestApi", server.address()));
    }
}
